package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.DeviceImgDao;
import io.renren.modules.generator.entity.DeviceImgEntity;
import io.renren.modules.generator.service.DeviceImgService;



@Service("deviceImgService")
public class DeviceImgServiceImpl implements DeviceImgService {
	@Autowired
	private DeviceImgDao deviceImgDao;
	
	@Override
	public DeviceImgEntity queryObject(Integer id){
		return deviceImgDao.queryObject(id);
	}
	
	@Override
	public List<DeviceImgEntity> queryList(Map<String, Object> map){
		return deviceImgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return deviceImgDao.queryTotal(map);
	}
	
	@Override
	public void save(DeviceImgEntity deviceImg){
		deviceImgDao.save(deviceImg);
	}
	
	@Override
	public void update(DeviceImgEntity deviceImg){
		deviceImgDao.update(deviceImg);
	}
	
	@Override
	public void delete(Integer id){
		deviceImgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		deviceImgDao.deleteBatch(ids);
	}
	
}
